<template>
  <div>
    <img v-if="img!==''" :src="img" alt="" class="Imgboder">
    <img v-else src="../../assets/common/狗狗0.webp" alt="" class="Imgboder">

  </div>
</template>

<script>
export default {
  props: {
    img: {
      type: String,
      required: true,
      default: ''
    }
  }

}
</script>

<style scoped>
.Imgboder{
    width: 100%;
    border-radius: 15px;
}
</style>
